package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yami.shop.bean.model.MeltCloudGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeltCloudGroupMapper extends BaseMapper<MeltCloudGroup> {

    /**
     * 获取所有群组
     *
     * @param page
     * @param currentId
     * @param groupName
     * @return
     */
    IPage<MeltCloudGroup> searchGroupListPage(Page page, @Param("currentId") String currentId, @Param("groupName") String groupName);


    List<MeltCloudGroup> ordinaryGroupPics(@Param("groupIds") List<Long> ordinaryGroupIds);
    
    
    List<MeltCloudGroup> dueSoonUltraGroup();


}
